package cn.hengzhu.main_manager.service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

import cn.hengzhu.main_manager.repository.domain.PayOrder;
import cn.hengzhu.main_manager.repository.domain.PrepayOrder;

public interface PayOrderService {

	void prepayWXBefore(Date date, String openId, String out_trade_no, Integer amount, BigDecimal pledge, Integer boxId,String prepay_id, String password);

	void timeOutPrepayOrder(List<Integer> prepayOrderIds, List<Integer> boxIds);

	void prepayAliBefore(String openId,Double amount, String out_trade_no,String tradeNo,Integer boxId);
	
	void prepayAliBefore(String openId,Double amount, BigDecimal cashPledge, String out_trade_no,String tradeNo,Integer boxId, String password);

	void cancelPrepay(PrepayOrder prepayOrder);

	void creatPayWx(String openId, String out_trade_no, Integer amount, Integer boxId, String prepay_id);


    //void creatAliPledge(String openId,Double amount, BigDecimal cashPledge, String out_trade_no,String tradeNo,Integer boxId);

}
